package com.example.mycat;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class MycatApplication {

    private static final Logger log = LoggerFactory.getLogger(MycatApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(MycatApplication.class, args);
        log.error("**************success*************");
    }

}
//浏览器输入
// http://localhost:8080/user/save?username=幻神password=4444
//看nvvicat的主 从数据库是否都有user表，以及是否添加进数据了